x86: Make MSI-X work with 64-bit BARs
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 14 May 2008 13:12:53 +0000 (14:12 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 14 May 2008 13:12:53 +0000 (14:12 +0100)
commit3b17e1a5e922889e35d36ded3b58d88b3817ac71
treebbf08bd974d92fdb8fd290815f2ee6a6d980d493
parentd6f001cb91ac4cfc69a256abdd030e94ff979e26
x86: Make MSI-X work with 64-bit BARs

The code for working out the base address of a 64-bit BAR currently
puts the two halves together in the wrong order and leaves the type
bits in the resulting value.   It also treats
PCI_BASE_ADDRESS_MEM_TYPE_64 as a flag rather than an enumeration
value.

Signed-off-by: Neil Turton <nturton@solarflare.com>
xen/arch/x86/msi.c